package cate.common.table.item;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "万能碎片")
public class HeroPartFreeCompositeRow extends ERow {
    @NoteField(value = "碎片id")
    public int fragmentId;

    @NoteField(value = "合成规则")
    public int rule;

    @NoteField(value = "消耗数量")
    public int num;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.fragmentId = xrw.getInteger("碎片ID");
        this.rule = xrw.getInteger("合成规则");
        this.num = xrw.getInteger("消耗数量");
    }
}
